package com.springboot.frame.starter.access;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author liheng
 * @ClassName RefAccessTokenDto
 * @Description 重新刷新token
 * @date 2019/12/7 18:57
 * @Version 1.0
 */
@Data
@ApiModel(value = "重新刷新tokenDto")
public class RefAccessTokenDTO {
    @ApiModelProperty(value = "登录账号")
    @NotBlank(message = "登录账号不能为空")
    private String account;

    @ApiModelProperty(value = "refAccessToken")
    @NotBlank(message = "refAccessToken不能为空")
    private String refAccessToken;
}
